US Drug CoveragePlan API - Implementation Template (Da Vinci PDEX US Drug Formulary)

(0 reviews)

Field mapping

FHIRDatabase mappings - DB table (DB field)Hard Coded Value / Calculation/ URL Construction
resourceType"Bundle"
idid of resource
meta.lastUpdatednow() >> 'UTC'
totalcount(plans)
link.relation"self"
link.urlpopulate current URL

Array

The following are the elements in this entry array:

FHIRDatabase mappings - DB table (DB field)Hard Coded Value / Calculation/ URL Construction
entry
entry.fullUrlconstruct getByid URL
entry.search.mode"match"

The following are elements under the entry.resource element:

FHIRDatabase mappings - DB table (DB field)Hard Coded Value / Calculation/ URL Construction
entry.resource.resourceType"List"
entry.resource.idpopulating the Plan_id being
entry.resource.meta.lastUpdatedplans (update_date)plan - last updated date
entry.resource.meta.profileusdf-CoveragePlan
entry.resource.text.statusgenerated
entry.resource.text.divplans (plan_name)planName
entry.resource.extensions-
entry.resource.extension[0].urlusdf-DrugTierDefinition-extension

The following are mappings for the first extension—the same mappings apply for all extensions:

FHIRDatabase mappings - DB table (DB field)Hard Coded Value / Calculation/ URL Construction
entry.resource.extension[0].extension[0].url"drugTierID"
entry.resource.ext[0].ext[0]...systemusdf-DrugTierCS
entry.resource.ext[0].ext[0]...codedrugTiers (drug_tier_code)
entry.resource.ext[0].ext[0]...displaydrugTiers (drug_tier_name)
entry.resource.ext[0].ext[1]..url"mailOrder"
entry.resource.ext[0].ext[1]..valueBooleandrugTiers (mail_order)
entry.resource.ext[0].ext[2]..url"costSharing"
entry.resource.ext[0].ext[2].ext[0]..url"pharmacyType"
entry.resource.ext[0].ext[2].ext[0]..systemusdf-PharmacyTypeCS
entry.resource.ext[0].ext[2].ext[0]..codedrugTiersCostSharings (pharmacy_type_code)
entry.resource.ext[0].ext[2].ext[0]..displaydrugTiersCostSharings (pharmacy_type_name)
entry.resource.ext[0].ext[2].ext[1]..url"copayAmount"
entry.resource.ext[0].ext[2].ext[1]...valuedrugTiersCostSharings (copay_amount)
entry.resource.ext[0].ext[2].ext[2]..url"coinsuranceRate"
entry.resource.ext[0].ext[2].ext[2]...valuedrugTiersCostSharings (coinsurance_rate)
entry.resource.ext[0].ext[2].ext[3]..url"copayOption"
entry.resource.ext[0].ext[2].ext[3]..systemusdf-CopayOptionCS
entry.resource.ext[0].ext[2].ext[3]..codedrugTiersCostSharings (copay_option_code)
entry.resource.ext[0].ext[2].ext[3]..displaydrugTiersCostSharings (copay_option_name)
entry.resource.ext[0].ext[2].ext[4]..url"coinsuranceOption"
entry.resource.ext[0].ext[2].ext[4]..systemusdf-CoinsuranceOptionCS
entry.resource.ext[0].ext[2].ext[4]..codedrugTiersCostSharings (coinsurance_option_code)
entry.resource.ext[0].ext[2].ext[4]..displaydrugTiersCostSharings (coinsurance_option_name)
entry.resource.identifier.valueplans (plan_id)
entry.resource.status"current"
entry.resource.mode"snapshot"
entry.resource.dateplans (plan_name)

The following are mappings for first entry—the same mappings apply for all other elements in the entry:

FHIRDatabase mappings - DB table (DB field)Hard Coded Value / Calculation/ URL Construction
entry.resource.entry[0].item.referenceconcat ( "MedicationKnowledge/", formularyId)

Reviews

TypeTemplate
OrganizationMulesoft
Published by
MuleSoft Organization
Published onDec 13, 2022
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.3